
/**
 *  main style by chen dajiang 2017-07-22
 */

$(function(){
	// 设置main.html搜索框的宽度
	var winW = $(window).width(),
	headerW = $('header').width()-25,
	localW = $('.location').width(),
	searchW = (headerW-localW-16)+'px';
	console.log(searchW);
	$('.search').css('width',searchW)
})
